package com.joysuch.wwyt.workflow.service;

import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowBizTypeBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowBizTypeTreeBean;
import com.joysuch.wwyt.workflow.entity.WorkFlowBizType;

import java.util.List;

public interface WorkFlowBizTypeService {


    ResultBean save(WorkFlowBizTypeBean bean);

    ResultBean delete(Long id);

    WorkFlowBizType findById(Long id);


    List<WorkFlowBizType> findAll(Long processId);

    List<WorkFlowBizTypeTreeBean> listTree(Long processId);
}
